public class VFSampleController {
    public string AccountID{
        get{
            string aID = [SELECT id FROM Account order by createdDate LIMIT 1].id;
            return aID;
        }
    }
}